Skip to content

Added theme changing transition. - #4477

Merged
Trott merged 7 commits into
nodejs:mainfrom
ArkinSolomon:dark-mode-transition
Mar 14, 2022
Merged

Trott merged 7 commits into
nodejs:mainfrom
ArkinSolomon:dark-mode-transition

Conversation

@ArkinSolomon

Copy link
Copy Markdown
Contributor

Add transition time when changing themes as suggested by #4441.

Also fixes when the footer would have no top margin in dark mode.

…e as suggested by #4441.

Also fixes when the footer would have no margin in dark mode.
Comment thread layouts/css/layout/_dark-theme.scss Resolved
@1235mnbvcxz

This comment was marked as spam.

@1235mnbvcxz

This comment was marked as spam.

@Trott

This comment was marked as resolved.

@ArkinSolomon
ArkinSolomon requested a review from Trott March 10, 2022 07:53
@Trott

Trott commented Mar 10, 2022

Copy link
Copy Markdown
Member

@nodejs/website This seems OK to me, but would love someone more front-end web/CSS/accessibility-focused than I am to take a look.

@joesepi joesepi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've got a couple comments and questions. Thanks!

Comment thread layouts/css/layout/_dark-theme.scss Resolved
Comment thread layouts/css/layout/_dark-theme.scss Resolved
- Changed body background from hex code to variable.
- Only remove footer on small screens.

@joesepi joesepi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Trott
Trott enabled auto-merge (squash) March 14, 2022 17:55
@Trott
Trott merged commit 574b589 into nodejs:main Mar 14, 2022
@ArkinSolomon
ArkinSolomon deleted the dark-mode-transition branch March 14, 2022 19:02
@ArkinSolomon

Copy link
Copy Markdown
Contributor Author

This closes #4441 I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants